package cn.edu.ujn.boot.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.ujn.boot.po.Customer;

public interface CustomerMapper {
	
	long countByExample(Customer customer);

    int deleteByPrimaryKey(Integer custId);

    int insert(Customer customer);

	/* int insertSelective(Customer customer); */
    List<Customer> selectByExample();
    
    List<Customer> selectSelective(Customer customer);
    
	/* Department selectByPrimaryKey(Integer deptId); */

	/*
	 * int updateByExampleSelective(@Param("record") Department
	 * record, @Param("example") DepartmentExample example);
	 * 
	 * int updateByExample(@Param("record") Department record, @Param("example")
	 * DepartmentExample example);
	 */
    int updateByPrimaryKeySelective(Customer customer);

	/* int updateByPrimaryKey(Department record); */
}
